package br.com.ac.fatureweb.integration.model;

import java.io.Serializable;

/**
 * Configuração de cálculo para conta.
 * 
 * @author aldivone
 *
 */
public class ConfiguracaoCalculoVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8293329586151141546L;

	private Long id;

	private Double pctMulta;

	private Double pctJuros;

	private Double valMinimo;

	private Integer flgConshidro;

	private Integer csmConshidro;

	private String desConshidro;

	private Double valConshidro;

	private Integer flgTaxa1;

	private Long csmTaxa1;

	private String desTaxa1;

	private Double valTaxa1;

	private Integer flgTaxa2;

	private Long csmTaxa2;

	private String desTaxa2;

	private Double valTaxa2;

	public ConfiguracaoCalculoVO() {
		super();
	}

	public ConfiguracaoCalculoVO(Long id, Double pctMulta, Double pctJuros,
			Double valMinimo, Integer flgConshidro, Integer csmConshidro,
			String desConshidro, Double valConshidro, Integer flgTaxa1,
			Long csmTaxa1, String desTaxa1, Double valTaxa1, Integer flgTaxa2,
			Long csmTaxa2, String desTaxa2, Double valTaxa2) {
		super();
		this.id = id;
		this.pctMulta = pctMulta;
		this.pctJuros = pctJuros;
		this.valMinimo = valMinimo;
		this.flgConshidro = flgConshidro;
		this.csmConshidro = csmConshidro;
		this.desConshidro = desConshidro;
		this.valConshidro = valConshidro;
		this.flgTaxa1 = flgTaxa1;
		this.csmTaxa1 = csmTaxa1;
		this.desTaxa1 = desTaxa1;
		this.valTaxa1 = valTaxa1;
		this.flgTaxa2 = flgTaxa2;
		this.csmTaxa2 = csmTaxa2;
		this.desTaxa2 = desTaxa2;
		this.valTaxa2 = valTaxa2;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((valMinimo == null) ? 0 : valMinimo.hashCode());
		result = prime * result
				+ ((valTaxa1 == null) ? 0 : valTaxa1.hashCode());
		result = prime * result
				+ ((valTaxa2 == null) ? 0 : valTaxa2.hashCode());
		return result;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (!(obj instanceof ConfiguracaoCalculoVO)) {
			return false;
		}
		ConfiguracaoCalculoVO other = (ConfiguracaoCalculoVO) obj;
		if (id == null) {
			if (other.id != null) {
				return false;
			}
		} else if (!id.equals(other.id)) {
			return false;
		}
		if (valMinimo == null) {
			if (other.valMinimo != null) {
				return false;
			}
		} else if (!valMinimo.equals(other.valMinimo)) {
			return false;
		}
		if (valTaxa1 == null) {
			if (other.valTaxa1 != null) {
				return false;
			}
		} else if (!valTaxa1.equals(other.valTaxa1)) {
			return false;
		}
		if (valTaxa2 == null) {
			if (other.valTaxa2 != null) {
				return false;
			}
		} else if (!valTaxa2.equals(other.valTaxa2)) {
			return false;
		}
		return true;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the pctMulta
	 */
	public Double getPctMulta() {
		return pctMulta;
	}

	/**
	 * @param pctMulta
	 *            the pctMulta to set
	 */
	public void setPctMulta(Double pctMulta) {
		this.pctMulta = pctMulta;
	}

	/**
	 * @return the pctJuros
	 */
	public Double getPctJuros() {
		return pctJuros;
	}

	/**
	 * @param pctJuros
	 *            the pctJuros to set
	 */
	public void setPctJuros(Double pctJuros) {
		this.pctJuros = pctJuros;
	}

	/**
	 * @return the valMinimo
	 */
	public Double getValMinimo() {
		return valMinimo;
	}

	/**
	 * @param valMinimo
	 *            the valMinimo to set
	 */
	public void setValMinimo(Double valMinimo) {
		this.valMinimo = valMinimo;
	}

	/**
	 * @return the flgConshidro
	 */
	public Integer getFlgConshidro() {
		return flgConshidro;
	}

	/**
	 * @param flgConshidro
	 *            the flgConshidro to set
	 */
	public void setFlgConshidro(Integer flgConshidro) {
		this.flgConshidro = flgConshidro;
	}

	/**
	 * @return the csmConshidro
	 */
	public Integer getCsmConshidro() {
		return csmConshidro;
	}

	/**
	 * @param csmConshidro
	 *            the csmConshidro to set
	 */
	public void setCsmConshidro(Integer csmConshidro) {
		this.csmConshidro = csmConshidro;
	}

	/**
	 * @return the desConshidro
	 */
	public String getDesConshidro() {
		return desConshidro;
	}

	/**
	 * @param desConshidro
	 *            the desConshidro to set
	 */
	public void setDesConshidro(String desConshidro) {
		this.desConshidro = desConshidro;
	}

	/**
	 * @return the valConshidro
	 */
	public Double getValConshidro() {
		return valConshidro;
	}

	/**
	 * @param valConshidro
	 *            the valConshidro to set
	 */
	public void setValConshidro(Double valConshidro) {
		this.valConshidro = valConshidro;
	}

	/**
	 * @return the flgTaxa1
	 */
	public Integer getFlgTaxa1() {
		return flgTaxa1;
	}

	/**
	 * @param flgTaxa1
	 *            the flgTaxa1 to set
	 */
	public void setFlgTaxa1(Integer flgTaxa1) {
		this.flgTaxa1 = flgTaxa1;
	}

	/**
	 * @return the csmTaxa1
	 */
	public Long getCsmTaxa1() {
		return csmTaxa1;
	}

	/**
	 * @param csmTaxa1
	 *            the csmTaxa1 to set
	 */
	public void setCsmTaxa1(Long csmTaxa1) {
		this.csmTaxa1 = csmTaxa1;
	}

	/**
	 * @return the desTaxa1
	 */
	public String getDesTaxa1() {
		return desTaxa1;
	}

	/**
	 * @param desTaxa1
	 *            the desTaxa1 to set
	 */
	public void setDesTaxa1(String desTaxa1) {
		this.desTaxa1 = desTaxa1;
	}

	/**
	 * @return the valTaxa1
	 */
	public Double getValTaxa1() {
		return valTaxa1;
	}

	/**
	 * @param valTaxa1
	 *            the valTaxa1 to set
	 */
	public void setValTaxa1(Double valTaxa1) {
		this.valTaxa1 = valTaxa1;
	}

	/**
	 * @return the flgTaxa2
	 */
	public Integer getFlgTaxa2() {
		return flgTaxa2;
	}

	/**
	 * @param flgTaxa2
	 *            the flgTaxa2 to set
	 */
	public void setFlgTaxa2(Integer flgTaxa2) {
		this.flgTaxa2 = flgTaxa2;
	}

	/**
	 * @return the csmTaxa2
	 */
	public Long getCsmTaxa2() {
		return csmTaxa2;
	}

	/**
	 * @param csmTaxa2
	 *            the csmTaxa2 to set
	 */
	public void setCsmTaxa2(Long csmTaxa2) {
		this.csmTaxa2 = csmTaxa2;
	}

	/**
	 * @return the desTaxa2
	 */
	public String getDesTaxa2() {
		return desTaxa2;
	}

	/**
	 * @param desTaxa2
	 *            the desTaxa2 to set
	 */
	public void setDesTaxa2(String desTaxa2) {
		this.desTaxa2 = desTaxa2;
	}

	/**
	 * @return the valTaxa2
	 */
	public Double getValTaxa2() {
		return valTaxa2;
	}

	/**
	 * @param valTaxa2
	 *            the valTaxa2 to set
	 */
	public void setValTaxa2(Double valTaxa2) {
		this.valTaxa2 = valTaxa2;
	}

}
